#define _CRT_SECURE_NO_WARNINGS 
#include <stdio.h>
#include <assert.h>
int my_strcmp(char* a, const char* b)
{
	assert(a && b);
	while (*a == *b)
	{
		if (*a == '\0')
			return 0;
		a++;
		b++;
	}
	return *a - *b;
}
int main()
{
	char arr1[20] = { "bit is yyds." };
	char arr2[] = { "bit is yyds!" };
	printf("%d\n", my_strcmp(arr1, arr2));
	return 0;
}